package za.ac.cput.peterjohn.DesignPatternPrincipals.Behavioral.Template.Model;

public abstract class Meal 
{
    public final String doMeal()
    {
        prepareIngrediets();
        cook();
        eat();
        cleanUp();
        
        return  prepareIngrediets() + " "+ cook() + " " + eat()+ " " + cleanUp();
    }

    public abstract String prepareIngrediets();
    public abstract String cook();
    public String eat(){ return ("Mmm, that's good."); };
    public abstract String cleanUp();   
}